<?php
function smarty_function_offline_mine($params, &$smarty)
{
	$intUserId 		= isset($params['userid']) ? $params['userid'] : 0;		
	$objOffline		= new Offline();
	$arrMine		= $objOffline->getAllForMine($intUserId,0,0,OFFLINE_TOP_LIMIT,$intTotal);
	$smarty->assign('arrMine',	$arrMine);
	$smarty->assign('intTotal', $intTotal);
	$smarty->display(ROOT_DIR . '/library/Vfriend/Plugins/Tpl/box-offline-mine.tpl');
}
?>